package cn.kow.kmall.pojo.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author: lijun
 * @Description:
 * @Date: Created in 2019-05-24 17:53
 * @Modified By:
 */
@Data
public class FirstCategoryVO {

    /**
     * 类目ID
     */
    private Long id;

    private Integer type;

    /**
     * 类目名称
     */
    private String name;

    private String frontName;

    /**
     * 类目图片
     */
    private List<FocusBannerVO> focusBannerList;

    List<ItemCategoryVO> subCategoryList;

    List<CategoryGroupVO> categoryGroupList;

    @Data
    public class CategoryGroupVO {

        private Long id;

        private String name;

        List<ItemCategoryVO> categoryList;
    }

    @NoArgsConstructor
    @AllArgsConstructor
    @Data
    public class FocusBannerVO {

        private Long id;

        private String picUrl;

        private String targetUrl;
    }
}
